.NET Aspire Sample Code

Build a Reusable .NET Aspire API Template in Minutes

The standard Aspire templates give you a great start, but I had already finished another Aspire application with tons of essential building blocks that I did not want to manually bring to the new project. Today, I’ll show you how I created my new .NET Aspire API Starter template, step-by-step.

GitHub - dawidpereira/opentelemetry-demo: Comprehensive OpenTelemetry demo with .NET 9, Serilog, and .NET Aspire showcasing OTLP configuration

Comprehensive OpenTelemetry demo with .NET 9, Serilog, and .NET Aspire showcasing OTLP configuration

Aspire in Action: Real-Time AI Streaming

Aspire in Action: Real-Time AI Streaming

.NET Aspire Container Build Sample

An example of integrating apps written in other languages using container-based builds in a .NET Aspire app.

Standalone Aspire dashboard sample app

A sample of using the Aspire dashboard to view telemetry from non-Aspire apps.

Microservice pattern demos running in .NET Aspire

Microservice pattern demos (Saga, EventSourcing, CQRS...) running in .NET Aspire - daohainam/microservice-patterns

davidfowl/aspire-ai-chat-demo: Aspire AI Chat

Aspire AI Chat is a full-stack chat sample that combines modern technologies to deliver a ChatGPT-like experience.

Ingesting documents using .NET to build a simple Retrieval Augmented Generation (RAG) system

Here is a quick post summarising how to use .NET Semantic Kernel, Qdrant and .Net to ingest markdown documents. One of the comments a recent post related to the topic was about why using Python for ingestion instead of .NET. That was a personal preference at the time but also using .NET with Semantic Kernel to ingest documents for a simple pipeline is not necessarily any more work.

Harnessing DeepSeek-R1 distilled model with .NET Aspire and Ollama locally

In my earlier posts, I’ve demonstrated how to install Ollama using the Windows installer. However, for developers, there’s a more streamlined method to set up Ollama on your machine. In this blog post, we’ll explore how to run DeepSeek-R1 by harnessing the capabilities of .NET Aspire alongside Ollama on your local environment.

Angspire = Angular + .NET (monorepo) project template

Angspire = Angular + .NET (monorepo) project template designed to simplify development with out-of-the-box features like (basic) user authentication and frontend themes, reducing setup time and providing a scalable, maintainable foundation for your applications.